100
|
Show a combination of lines and filled curves in the overview
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions,com_FormatGridLinesOptions1,com_GridLinesOptions,com_Legend,com_Overview,com_Serie,com_Serie1,com_Serie2,com_Series,com_TickOptions,com_ValueAxes,com_ValueAxis,com_ValueAxis1;
anytype var_CategoryAxis,var_FormatGridLinesOptions,var_FormatGridLinesOptions1,var_GridLinesOptions,var_Legend,var_Overview,var_Serie,var_Serie1,var_Serie2,var_Series,var_TickOptions,var_ValueAxes,var_ValueAxis,var_ValueAxis1;
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(6);
exgraph1.VisualAppearance().Add(1,"C:\\Program Files\\Exontrol\\ExGraph\\Sample\\EBN\\googlebtn.ebn");
exgraph1.Background(199/*exOverviewSelResize*/,0x1808080);
exgraph1.Background(202/*exOverviewSel*/,0x1f0f0f0);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
exgraph1.SeriesColors("blue,lightblue,green");
var_ValueAxes = exgraph1.ValueAxes(); com_ValueAxes = var_ValueAxes;
var_ValueAxis = com_ValueAxes.Add(); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Start(COMVariant::createFromReal(0.1));
com_ValueAxis.CursorFormat("(value format ``) replace `.` with `<font ;6><off -4><fgcolor A0A0A0> `");
var_ValueAxis1 = com_ValueAxes.Add("2nd"); com_ValueAxis1 = var_ValueAxis1;
com_ValueAxis1.End(COMVariant::createFromReal(0.1));
com_ValueAxis1.Visible(false);
var_GridLinesOptions = COM::createFromObject(com_ValueAxis1.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color(COMVariant::createFromInt(-1));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Date");
com_CategoryAxis.Format("value mid 9 left 2");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Format("`<fgcolor black>` + ((0:=date(value)) format `mmm`) + (month(=:0) = 1 ? `<br><b>` + (=:0 format `YYYY`) : ``)");
com_FormatGridLinesOptions.Align(10/*exTextAlignBottom | exTextAlignRight*/);
com_FormatGridLinesOptions.Color("lightgray");
var_TickOptions = COM::createFromObject(com_CategoryAxis.MajorTicks()); com_TickOptions = var_TickOptions;
com_TickOptions.Color("black");
com_CategoryAxis.CursorFormat("value left 10");
var_FormatGridLinesOptions1 = com_CategoryAxis.OverviewGridLines(); com_FormatGridLinesOptions1 = var_FormatGridLinesOptions1;
com_FormatGridLinesOptions1.Format("value left 4");
com_FormatGridLinesOptions1.Color("lightgray");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add(); com_Serie = var_Serie;
com_Serie.Name("<fgcolor blue>MSFT</fgcolor>");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
var_s = "`Open: <b>` + (%v0 format `0`) + `</b><br>High: ` + (%v1 format `0`) + `<br>Low: ` + (%v2 format `0`) + `<br>Close: <b>` + (%v1 ";
var_s = var_s + "format `0`) + `</b>`";
com_Serie.CursorFormat(var_s);
var_Serie1 = com_Series.Add(); com_Serie1 = var_Serie1;
com_Serie1.Name("<fgcolor lightblue>Volume</fgcolor>");
com_Serie1.Data("Volume");
com_Serie1.Axis("2nd");
com_Serie1.CursorFormat("(name replace `lightblue` with `white`) + `: ` + (value format `0`)");
var_Serie2 = com_Series.Add(); com_Serie2 = var_Serie2;
com_Serie2.Name("<fgcolor green>Adj Close</fgcolor>");
com_Serie2.Data("Adj Close");
com_Serie2.Type("line");
com_Serie2.Misc(6/*exLineSize*/,COMVariant::createFromInt(2));
com_Serie2.Style(1/*exSpline*/);
com_Serie2.Visible(false);
com_Serie2.CursorFormat("(name replace `green` with `white`) + `: ` + (value format `0`)");
var_Overview = exgraph1.Overview(); com_Overview = var_Overview;
com_Overview.Visible(true);
com_Overview.Serie("0,1:darkblue-fill lightblue");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.Grid("x1");
exgraph1.Cursor().Visible(true);
exgraph1.EndUpdate();
}
|
99
|
Display multiple curves of values in the overview
public void init()
{
COM com_Overview,com_Serie;
anytype var_Overview,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
var_Overview = exgraph1.Overview(); com_Overview = var_Overview;
com_Overview.Visible(true);
com_Overview.Serie("0:black,0[1]:red,0[2]:blue,0[3]:green");
exgraph1.EndUpdate();
}
|
98
|
Display the series as a filled curve rather than a line in the overview
public void init()
{
COM com_Overview,com_Serie;
anytype var_Overview,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
var_Overview = exgraph1.Overview(); com_Overview = var_Overview;
com_Overview.Visible(true);
com_Overview.Serie("0:red-fill");
exgraph1.EndUpdate();
}
|
97
|
Redefine the color to show the serie within the overview
public void init()
{
COM com_Overview,com_Serie;
anytype var_Overview,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
var_Overview = exgraph1.Overview(); com_Overview = var_Overview;
com_Overview.Visible(true);
com_Overview.Serie("0:red");
exgraph1.EndUpdate();
}
|
96
|
Defines the color, style and width/size to display the lines of values in the overview
public void init()
{
COM com_LineOptions,com_Overview,com_Serie;
anytype var_LineOptions,var_Overview,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
var_Overview = exgraph1.Overview(); com_Overview = var_Overview;
com_Overview.Visible(true);
var_LineOptions = com_Overview.Line(); com_LineOptions = var_LineOptions;
com_LineOptions.Color("red");
com_LineOptions.Width(2);
com_LineOptions.Style(2);
exgraph1.EndUpdate();
}
|
95
|
Resizes of the control's overview
public void init()
{
COM com_Overview,com_Serie;
anytype var_Overview,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
var_Overview = exgraph1.Overview(); com_Overview = var_Overview;
com_Overview.Visible(true);
com_Overview.Size(32);
exgraph1.EndUpdate();
}
|
94
|
Anchors the overview-window
public void init()
{
COM com_Overview,com_Serie;
anytype var_Overview,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
var_Overview = exgraph1.Overview(); com_Overview = var_Overview;
com_Overview.Visible(true);
com_Overview.Dock(3/*exLeft*/);
exgraph1.EndUpdate();
}
|
93
|
Shows the overview
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
exgraph1.Overview().Visible(true);
exgraph1.EndUpdate();
}
|
92
|
Locks the legend (no value is hidden or shown when user clicks a symbol)
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.Locked(true);
exgraph1.EndUpdate();
}
|
91
|
Aligns the legend's content
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.Grid("2x");
com_Legend.Align(0/*exStart*/);
exgraph1.EndUpdate();
}
|
90
|
Arranges the legend objects on columns and rows
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.Grid("2x");
exgraph1.EndUpdate();
}
|
89
|
Arranges the legend objects on columns and rows
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.Flow(1/*exTopToBottom*/);
com_Legend.Grid("x2");
exgraph1.EndUpdate();
}
|
88
|
Arranges the legend objects from left to right or top to bottom
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.Flow(1/*exTopToBottom*/);
exgraph1.EndUpdate();
}
|
87
|
Defines the size to display the symbol, within the legend
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.SymbolWidth(COMVariant::createFromInt(32));
com_Legend.SymbolHeight(COMVariant::createFromInt(32));
exgraph1.EndUpdate();
}
|
86
|
Defines the height to display the symbol, within the legend
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.SymbolHeight(COMVariant::createFromInt(32));
exgraph1.EndUpdate();
}
|
85
|
Defines the width to display the symbol, within the legend
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.SymbolWidth(COMVariant::createFromInt(32));
exgraph1.EndUpdate();
}
|
84
|
Aligns the symbol of the serie relative to the label of the serie, within the legend
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.SymbolAlign(17/*exSymbolCenter | exSymbolTop*/);
exgraph1.EndUpdate();
}
|
83
|
Displays the labels using a fixed-size
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.FormatText(16/*exTextWordBreak*/);
com_Legend.LabelFixedWidth(48);
com_Legend.LabelFixedHeight(32);
exgraph1.EndUpdate();
}
|
82
|
Displays the labels using a fixed-height
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.FormatText(4/*exTextAlignVCenter*/);
com_Legend.LabelFixedHeight(32);
com_Legend.Dock(3/*exLeft*/);
exgraph1.EndUpdate();
}
|
81
|
Displays the labels using a fixed-width
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.FormatText(32768/*exTextEndEllipsis*/);
com_Legend.LabelFixedWidth(32);
exgraph1.EndUpdate();
}
|
80
|
Hides the labels on the legend (method 2)
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"); com_Serie = var_Serie;
com_Serie.LegendFormat("``");
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
79
|
Hides the labels on the legend (method 1)
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.FormatText(1024/*exTextCalcRect*/);
com_Legend.LabelFixedWidth(1);
exgraph1.EndUpdate();
}
|
78
|
Specifies the flags the labels use to display on the legend (for instance, displays the labels on multiple lines)
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.FormatText(16/*exTextWordBreak*/);
com_Legend.LabelFixedWidth(48);
exgraph1.EndUpdate();
}
|
77
|
Reverses the order of the items within the legend
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.Reverse(true);
exgraph1.EndUpdate();
}
|
76
|
Defines the legend's padding (space between legend's symbol/label and its borders)
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.Pad("12,0");
exgraph1.EndUpdate();
}
|
75
|
Specifies the edge of the container the legend-window is anchored to
public void init()
{
COM com_Legend;
anytype var_Legend;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.Dock(1/*exTop*/);
exgraph1.EndUpdate();
}
|
74
|
Show the legend
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().AsPercent(true);
exgraph1.Series().Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
73
|
Defines the tooltip's padding (space between tooltip's caption and its borders), for tooltips when cursor hovers the chart
public void init()
{
COM com_Cursor;
anytype var_Cursor;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
exgraph1.Series().Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
com_Cursor.TooltipPad("8,8");
exgraph1.EndUpdate();
}
|
72
|
Defines the foreground and background colors to show the tooltips on values
public void init()
{
COM com_Cursor;
anytype var_Cursor;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
exgraph1.Series().Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
com_Cursor.SerieTooltipBackColor("red");
com_Cursor.SerieTooltipForeColor("yellow");
exgraph1.EndUpdate();
}
|
71
|
Defines the foreground and background colors to show the tooltips on axes
public void init()
{
COM com_Cursor;
anytype var_Cursor;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
exgraph1.Series().Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
com_Cursor.AxisTooltipBackColor("red");
com_Cursor.AxisTooltipForeColor("yellow");
exgraph1.EndUpdate();
}
|
70
|
Defines the color, width or style of line to display the crosshair over the hover/touch area (showCursorCategoryLine or showCursorValueLine)
public void init()
{
COM com_Cursor,com_LineOptions;
anytype var_Cursor,var_LineOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
exgraph1.Series().Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
var_LineOptions = com_Cursor.Line(); com_LineOptions = var_LineOptions;
com_LineOptions.Color("red");
com_LineOptions.Style(0);
com_LineOptions.Width(2);
exgraph1.EndUpdate();
}
|
69
|
Hides the horizontal x-line, when the crosshair cursor hovers the chart (available for xy-chart types only)
public void init()
{
COM com_Cursor,com_Serie,com_Serie1;
anytype var_Cursor,var_Serie,var_Serie1;
;
super();
exgraph1.BeginUpdate();
var_Serie = COM::createFromObject(exgraph1.Series()).Add("11 22 33,44 55 66,77 88 99,12 34 56,78 90 23"); com_Serie = var_Serie;
com_Serie.Type("bubble");
com_Serie.Misc(1/*exScatterPlotSize*/,COMVariant::createFromInt(64));
var_Serie1 = COM::createFromObject(exgraph1.Series()).Add("21 32 43,54 65 76,87 98 09,45 67 89,90 23 45"); com_Serie1 = var_Serie1;
com_Serie1.Type("bubble");
com_Serie1.Misc(1/*exScatterPlotSize*/,COMVariant::createFromInt(64));
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
com_Cursor.ShowCursorYLine(false);
exgraph1.EndUpdate();
}
|
68
|
Hides the vertical y-line, when the crosshair cursor hovers the chart (available for xy-chart types only)
public void init()
{
COM com_Cursor,com_Serie,com_Serie1;
anytype var_Cursor,var_Serie,var_Serie1;
;
super();
exgraph1.BeginUpdate();
var_Serie = COM::createFromObject(exgraph1.Series()).Add("11 22 33,44 55 66,77 88 99,12 34 56,78 90 23"); com_Serie = var_Serie;
com_Serie.Type("bubble");
com_Serie.Misc(1/*exScatterPlotSize*/,COMVariant::createFromInt(64));
var_Serie1 = COM::createFromObject(exgraph1.Series()).Add("21 32 43,54 65 76,87 98 09,45 67 89,90 23 45"); com_Serie1 = var_Serie1;
com_Serie1.Type("bubble");
com_Serie1.Misc(1/*exScatterPlotSize*/,COMVariant::createFromInt(64));
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
com_Cursor.ShowCursorXLine(false);
exgraph1.EndUpdate();
}
|
67
|
Hides the horizontal/vertical value/y-line, when the crosshair cursor hovers the chart
public void init()
{
COM com_Cursor;
anytype var_Cursor;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
com_Cursor.ShowCursorValueLine(false);
exgraph1.EndUpdate();
}
|
66
|
Displays all tooltips for all series of the category unit being indicated by the vertical/horizontal category/x-line
public void init()
{
COM com_Cursor;
anytype var_Cursor;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
exgraph1.Series().Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
com_Cursor.ShowCursorSerieTooltip(3/*exCursorSerieShowAll*/);
exgraph1.EndUpdate();
}
|
65
|
The pointer indicates the series whose tooltip is displayed, when the crosshair cursor hovers its chart
public void init()
{
COM com_Cursor;
anytype var_Cursor;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
exgraph1.Series().Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
com_Cursor.ShowCursorSerieTooltip(2/*exCursorSerieShowExact*/);
exgraph1.EndUpdate();
}
|
64
|
Hides the tooltip when the crosshair cursor hovers the chart
public void init()
{
COM com_Cursor;
anytype var_Cursor;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
exgraph1.Series().Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
com_Cursor.ShowCursorSerieTooltip(0/*exCursorSerieHide*/);
exgraph1.EndUpdate();
}
|
63
|
Shows the category/x-line when the cursor is near the value
public void init()
{
COM com_Cursor;
anytype var_Cursor;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
com_Cursor.ShowCursorCategoryLine(1/*exCursorCategoryShowNear*/);
exgraph1.EndUpdate();
}
|
62
|
Hides the cursor's category/x-line
public void init()
{
COM com_Cursor;
anytype var_Cursor;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
com_Cursor.ShowCursorCategoryLine(0/*exCursorCategoryHide*/);
exgraph1.EndUpdate();
}
|
61
|
How can I show the values from the cursor
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
exgraph1.Cursor().Visible(true);
exgraph1.EndUpdate();
}
|
60
|
Defines the style to display the axis-line
public void init()
{
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueAxis().AxisLine().Style(2);
exgraph1.CategoryAxis().AxisLine().Style(2);
exgraph1.AutoFit(true);
var_s = "Paris(2148271),Marseille(1748148),Lyon(1637677),Toulouse(1360829),Nice(1000548),Nantes(973133),Strasbourg(785839),Montpellier(59";
var_s = var_s + "0741),Bordeaux(589649),Lille(484786)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.EndUpdate();
}
|
59
|
Defines the color to show the axis
public void init()
{
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueAxis().AxisLine().Color("red");
exgraph1.CategoryAxis().AxisLine().Color("red");
exgraph1.AutoFit(true);
var_s = "Paris(2148271),Marseille(1748148),Lyon(1637677),Toulouse(1360829),Nice(1000548),Nantes(973133),Strasbourg(785839),Montpellier(59";
var_s = var_s + "0741),Bordeaux(589649),Lille(484786)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.EndUpdate();
}
|
58
|
Specifies the step to show the ticks for value or category axes
public void init()
{
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueAxis().MajorTicks().Step(2);
exgraph1.AutoFit(true);
var_s = "Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmun";
var_s = var_s + "d(586600),Essen(582760),Bremen(565719)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.Sort("0:D");
exgraph1.EndUpdate();
}
|
57
|
Specifies the number of ticks to skip for value or category axes
public void init()
{
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueAxis().MajorTicks().Skip(3);
exgraph1.AutoFit(true);
var_s = "Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmun";
var_s = var_s + "d(586600),Essen(582760),Bremen(565719)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.Sort("0:D");
exgraph1.EndUpdate();
}
|
56
|
Defines the style to show the major-ticks of value or category axes
public void init()
{
COM com_TickOptions;
anytype var_TickOptions;
str var_s;
;
super();
exgraph1.BeginUpdate();
var_TickOptions = exgraph1.ValueAxis().MajorTicks(); com_TickOptions = var_TickOptions;
com_TickOptions.Style(1);
com_TickOptions.Width(3);
exgraph1.AutoFit(true);
var_s = "Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmun";
var_s = var_s + "d(586600),Essen(582760),Bremen(565719)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.Sort("0:D");
exgraph1.EndUpdate();
}
|
55
|
Defines the color to show the major-ticks of value or category axes
public void init()
{
COM com_TickOptions;
anytype var_TickOptions;
str var_s;
;
super();
exgraph1.BeginUpdate();
var_TickOptions = exgraph1.ValueAxis().MajorTicks(); com_TickOptions = var_TickOptions;
com_TickOptions.Color("red");
com_TickOptions.Width(3);
exgraph1.AutoFit(true);
var_s = "Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmun";
var_s = var_s + "d(586600),Essen(582760),Bremen(565719)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.Sort("0:D");
exgraph1.EndUpdate();
}
|
54
|
Specifies the size to show the major-ticks of value or category axes
public void init()
{
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueAxis().MajorTicks().Width(3);
exgraph1.AutoFit(true);
var_s = "Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmun";
var_s = var_s + "d(586600),Essen(582760),Bremen(565719)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.Sort("0:D");
exgraph1.EndUpdate();
}
|
53
|
Defines the step to show the major-grid lines, for value or category axes
public void init()
{
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueAxis().MajorGridLines().Step(2);
exgraph1.AutoFit(true);
var_s = "Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(26";
var_s = var_s + "9506),Ploiesti(209945),Oradea(222239)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.Sort("0:D");
exgraph1.EndUpdate();
}
|
52
|
Specifies the number of major grid-line's to skip, for value or category axes
public void init()
{
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueAxis().MajorGridLines().Skip(3);
exgraph1.AutoFit(true);
var_s = "Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(26";
var_s = var_s + "9506),Ploiesti(209945),Oradea(222239)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.Sort("0:D");
exgraph1.EndUpdate();
}
|
51
|
Specifies the style of the major grid-line (dash, dot, ...), for value or category axes
public void init()
{
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueAxis().MajorGridLines().Style(2);
exgraph1.AutoFit(true);
var_s = "Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(26";
var_s = var_s + "9506),Ploiesti(209945),Oradea(222239)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.Sort("0:D");
exgraph1.EndUpdate();
}
|
50
|
Specifies the major grid-line's color, for value or category axes
public void init()
{
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueAxis().MajorGridLines().Color("red");
exgraph1.AutoFit(true);
var_s = "Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(26";
var_s = var_s + "9506),Ploiesti(209945),Oradea(222239)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.Sort("0:D");
exgraph1.EndUpdate();
}
|
49
|
Specifies the major grid-line's width or size, for value or category axes
public void init()
{
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueAxis().MajorGridLines().Width(2);
exgraph1.AutoFit(true);
var_s = "Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(26";
var_s = var_s + "9506),Ploiesti(209945),Oradea(222239)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.Sort("0:D");
exgraph1.EndUpdate();
}
|
48
|
Hide the labels of the grid lines (chart, overview)
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(64);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Color("black");
com_FormatGridLinesOptions.Format("value");
com_FormatGridLinesOptions.Align(1024/*exTextCalcRect*/);
exgraph1.Series().Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
exgraph1.EndUpdate();
}
|
47
|
Aligns the labels of the grid lines (chart, overview)
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(64);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Color("black");
com_FormatGridLinesOptions.Format("`<fgcolor gray>` + value");
com_FormatGridLinesOptions.Align(258/*exTextNoClip | exTextAlignRight*/);
exgraph1.Series().Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
exgraph1.EndUpdate();
}
|
46
|
Defines where the grid lines appear on chart or overview
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Color("black");
com_FormatGridLinesOptions.Format("value = `Sitka`");
com_FormatGridLinesOptions.Align(1024/*exTextCalcRect*/);
exgraph1.Series().Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
exgraph1.EndUpdate();
}
|
45
|
Defines the labels between grid lines (chart, overview)
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Format("``");
com_CategoryAxis.Categories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Color("black");
com_FormatGridLinesOptions.Format("`<c>` + value + `<br><c>` + index");
exgraph1.Series().Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
exgraph1.EndUpdate();
}
|
44
|
Defines the step to show the grid lines (chart, overview)
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Color("black");
com_FormatGridLinesOptions.Format("index");
com_FormatGridLinesOptions.Step(2);
exgraph1.Series().Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
exgraph1.EndUpdate();
}
|
43
|
Specifies the number of grid lines to skip (chart, overview)
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Color("black");
com_FormatGridLinesOptions.Format("index");
com_FormatGridLinesOptions.Skip(3);
exgraph1.Series().Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
exgraph1.EndUpdate();
}
|
42
|
Defines the grid-line dash-dot-dot-style (chart, overview)
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Color("black");
com_FormatGridLinesOptions.Style(4);
com_FormatGridLinesOptions.Format("index");
exgraph1.Series().Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
exgraph1.EndUpdate();
}
|
41
|
Defines the grid-line dash-dot-style (chart, overview)
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Color("black");
com_FormatGridLinesOptions.Style(3);
com_FormatGridLinesOptions.Format("index");
exgraph1.Series().Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
exgraph1.EndUpdate();
}
|
40
|
Defines the grid-line dot-style (chart, overview)
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Color("black");
com_FormatGridLinesOptions.Style(2);
com_FormatGridLinesOptions.Format("index");
exgraph1.Series().Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
exgraph1.EndUpdate();
}
|
39
|
Defines the grid-line dash-style (chart, overview)
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Color("black");
com_FormatGridLinesOptions.Style(1);
com_FormatGridLinesOptions.Format("index");
exgraph1.Series().Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
exgraph1.EndUpdate();
}
|
38
|
Specifies the grid-line's color (chart, overview)
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Color("red");
com_FormatGridLinesOptions.Format("index");
exgraph1.Series().Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
exgraph1.EndUpdate();
}
|
37
|
Specifies the grid-line's width or size (chart, overview)
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Color("black");
com_FormatGridLinesOptions.Format("index");
com_FormatGridLinesOptions.Width(2);
exgraph1.Series().Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
exgraph1.EndUpdate();
}
|
36
|
Occurs when the user dblclk the left mouse button over an object
// DblClick event - Occurs when the user dblclk the left mouse button over an object.
void onEvent_DblClick(int _Shift,int _X,int _Y)
{
;
print( "DblClick event" );
}
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.ValueSize(18);
var_s = "Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil}";
var_s = var_s + "(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{C";
var_s = var_s + "hina}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(69";
var_s = var_s + "6),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiânia";
var_s = var_s + "{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)";
var_s1 = "Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil}";
var_s1 = var_s1 + "(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{C";
var_s1 = var_s1 + "hina}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(69";
var_s1 = var_s1 + "6),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiânia";
var_s1 = var_s1 + "{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.Type("Col");
com_Serie.Vertical(true);
exgraph1.Sort("0:D");
}
|
35
|
Occurs when the user presses and then releases the left mouse button over the control
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void onEvent_Click()
{
;
print( "Click event" );
}
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.ValueSize(18);
var_s = "Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil}";
var_s = var_s + "(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{C";
var_s = var_s + "hina}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(69";
var_s = var_s + "6),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiânia";
var_s = var_s + "{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)";
var_s1 = "Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil}";
var_s1 = var_s1 + "(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{C";
var_s1 = var_s1 + "hina}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(69";
var_s1 = var_s1 + "6),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiânia";
var_s1 = var_s1 + "{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.Type("Col");
com_Serie.Vertical(true);
}
|
34
|
Determine the code of the key the user presses
// KeyPress event - Occurs when the user presses and releases an ANSI key.
void onEvent_KeyPress(COMVariant /*short*/ _KeyAscii)
{
// print"KeyAscii",KeyAscii)
;
}
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.ValueSize(48);
exgraph1.Misc(10/*exUpdateRangeOnScroll*/,COMVariant::createFromInt(0));
var_s = "China(1403500365),India(1368737513),UnitedStates(330810184),Indonesia(272881945),Pakistan(220892331),Brazil(212559417),Nigeria(2";
var_s = var_s + "06139587),Bangladesh(169575884),Russia(145912025),Mexico(128932753),Japan(126476458),Ethiopia(114963588),Philippines(112392078),";
var_s = var_s + "Egypt(110530608),Vietnam(97429061),DR.Congo(89561404),Turkey(84339067),Iran(83720412),Germany(83132799),Thailand(69799978),Unite";
var_s = var_s + "dKingdom(68207116),France(65311982),Italy(59554028),Tanzania(59091392),SouthAfrica(58775022)";
var_s1 = "China(1403500365),India(1368737513),UnitedStates(330810184),Indonesia(272881945),Pakistan(220892331),Brazil(212559417),Nigeria(2";
var_s1 = var_s1 + "06139587),Bangladesh(169575884),Russia(145912025),Mexico(128932753),Japan(126476458),Ethiopia(114963588),Philippines(112392078),";
var_s1 = var_s1 + "Egypt(110530608),Vietnam(97429061),DR.Congo(89561404),Turkey(84339067),Iran(83720412),Germany(83132799),Thailand(69799978),Unite";
var_s1 = var_s1 + "dKingdom(68207116),France(65311982),Italy(59554028),Tanzania(59091392),SouthAfrica(58775022)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.Type("Pie");
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie.ValueFormat("category");
}
|
33
|
Determine the code of the key the user just released
// KeyUp event - Occurs when the user releases a key while an object has the focus.
void onEvent_KeyUp(COMVariant /*short*/ _KeyCode,int _Shift)
{
// print"KeyCode",KeyCode)
;
}
public void init()
{
str var_s;
;
super();
exgraph1.ValueSize(48);
exgraph1.Misc(10/*exUpdateRangeOnScroll*/,COMVariant::createFromInt(0));
var_s = "Russia(17098242),Canada(9984670),China(9596961),UnitedStates(9525067),Brazil(8515767),Australia(7692024),India(3287263),Argentin";
var_s = var_s + "a(2780400),Kazakhstan(2724900),Algeria(2381741),CongoDemocraticRepublicofthe(2344858),Greenland(2166086),SaudiArabia(2149690),Me";
var_s = var_s + "xico(1964375),Indonesia(1904569),Sudan(1861484),Libya(1759540),Iran(1648195),Mongolia(1564116),Peru(1285216),Niger(1267000),Chad";
var_s = var_s + "(1284000),Angola(1246700),Mali(1240192),SouthAfrica(1221037)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
}
|
32
|
Determine the code of the key the user presses
// KeyDown event - Occurs when the user presses a key while an object has the focus.
void onEvent_KeyDown(COMVariant /*short*/ _KeyCode,int _Shift)
{
// print"KeyCode",KeyCode)
;
}
public void init()
{
str var_s;
;
super();
exgraph1.ValueSize(48);
exgraph1.Misc(10/*exUpdateRangeOnScroll*/,COMVariant::createFromInt(0));
var_s = "Russia(17098242),Canada(9984670),China(9596961),UnitedStates(9525067),Brazil(8515767),Australia(7692024),India(3287263),Argentin";
var_s = var_s + "a(2780400),Kazakhstan(2724900),Algeria(2381741),CongoDemocraticRepublicofthe(2344858),Greenland(2166086),SaudiArabia(2149690),Me";
var_s = var_s + "xico(1964375),Indonesia(1904569),Sudan(1861484),Libya(1759540),Iran(1648195),Mongolia(1564116),Peru(1285216),Niger(1267000),Chad";
var_s = var_s + "(1284000),Angola(1246700),Mali(1240192),SouthAfrica(1221037)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
}
|
31
|
How can reverse the chart
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Reverse(true);
var_s = "Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(80";
var_s = var_s + "202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(14";
var_s = var_s + "6890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)";
var_s1 = "Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(80";
var_s1 = var_s1 + "202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(14";
var_s1 = var_s1 + "6890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.Vertical(true);
exgraph1.SeriesColors("dodgerblue");
}
|
30
|
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ScrollBars(15/*exDisableBoth*/);
exgraph1.ScrollPartVisible(0/*exVScroll*/,65536/*exExtentThumbPart*/,true);
exgraph1.ScrollPartVisible(1/*exHScroll*/,65536/*exExtentThumbPart*/,true);
exgraph1.ScrollPartVisible(2,65536/*exExtentThumbPart*/,true);
exgraph1.ScrollWidth(4);
exgraph1.Background(276,WinApi::RGB2int(240,240,240));
exgraph1.Background(260,WinApi::RGB2int(128,128,128));
exgraph1.ScrollHeight(4);
exgraph1.Background(404,exgraph1.Background(276));
exgraph1.Background(388,exgraph1.Background(260));
exgraph1.Background(511/*0x1ff | exSerieCursorTooltipTransparent*/,exgraph1.Background(276));
exgraph1.BeginUpdate();
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("aapl");
com_Serie.Data("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
com_Serie.Type("candle");
exgraph1.EndUpdate();
exgraph1.EndUpdate();
}
|
29
|
Define a bubble chart-type
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Data("1 99 1,2 96 2,3 92 3,4 86 4,5 79 5,6 70 6,7 60 7,8 50 8,9 38 9,10 25 10,11 13 11");
com_Serie.Type("bubble");
com_Serie.Misc(1/*exScatterPlotSize*/,COMVariant::createFromInt(96));
}
|
28
|
Is it possible to show the values with the same color (method 2)
public void init()
{
COM com_Serie,com_ValueAxis;
anytype var_Serie,var_ValueAxis;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(13/*exValueAxisFitLabel*/,COMVariant::createFromBoolean(true));
exgraph1.Misc(22/*exValueLineAddAngle*/,COMVariant::createFromInt(0));
exgraph1.ValuePoint(",,,,,,,,,0,0");
var_ValueAxis = exgraph1.ValueAxis(); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Format("value ? (value / 1000000) + `<br><c>mil`: ``");
com_ValueAxis.Tfi("<fgcolor gray> bold");
var_s = "China(1439323776),India(1380004385),US(331002651),Indonesia(273523615),Pakistan(220892340),Brazil(212559417),Nigeria(206139589),";
var_s = var_s + "Bangladesh(164689383),Russia(145934462),Mexico(128932753)";
var_s1 = "China(1439323776),India(1380004385),US(331002651),Indonesia(273523615),Pakistan(220892340),Brazil(212559417),Nigeria(206139589),";
var_s1 = var_s1 + "Bangladesh(164689383),Russia(145934462),Mexico(128932753)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.Type("column");
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie.ValueFormat("((value format ``) replace `.00` with ``)");
com_Serie.Color("blue");
exgraph1.Sort("0:D");
exgraph1.EndUpdate();
}
|
27
|
Is it possible to show the values with the same color (method 1)
public void init()
{
COM com_Serie,com_Serie1,com_ValueAxis;
anytype var_Serie,var_Serie1,var_ValueAxis;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(13/*exValueAxisFitLabel*/,COMVariant::createFromBoolean(true));
exgraph1.Misc(22/*exValueLineAddAngle*/,COMVariant::createFromInt(0));
exgraph1.ValuePoint(",,,,,,,,,0,0");
var_ValueAxis = exgraph1.ValueAxis(); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Format("value ? (value / 1000000) + `<br><c>mil`: ``");
com_ValueAxis.Tfi("<fgcolor gray> bold");
var_s = "China(1439323776),India(1380004385),US(331002651),Indonesia(273523615),Pakistan(220892340),Brazil(212559417),Nigeria(206139589),";
var_s = var_s + "Bangladesh(164689383),Russia(145934462),Mexico(128932753)";
var_s1 = "China(1439323776),India(1380004385),US(331002651),Indonesia(273523615),Pakistan(220892340),Brazil(212559417),Nigeria(206139589),";
var_s1 = var_s1 + "Bangladesh(164689383),Russia(145934462),Mexico(128932753)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.Type("column");
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie.ValueFormat("((value format ``) replace `.00` with ``)");
var_Serie1 = COM::createFromObject(exgraph1.Series()).Add("0"); com_Serie1 = var_Serie1;
com_Serie1.Visible(false);
exgraph1.Sort("0:D");
exgraph1.EndUpdate();
}
|
26
|
Pie chart
public void init()
{
COM com_Legend,com_Serie;
anytype var_Legend,var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.Type("pie");
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
com_Serie.ValueFormat("category + `<br>` + ((percent) format ``) + `%`");
com_Serie.LegendFormat("label + `(` + ((percent) format ``) + `%)`");
exgraph1.ValuePoint(",,,,,,,,transparent");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
exgraph1.EndUpdate();
}
|
25
|
Define the pad for value-label
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,,,,,,,,,8");
exgraph1.EndUpdate();
}
|
24
|
Hide the frame around the value-label
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,,,,,,,,0");
exgraph1.EndUpdate();
}
|
23
|
Remove the frame around the value-label
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,,,,,,,transparent");
exgraph1.EndUpdate();
}
|
22
|
Apply the color of the data-value to the value-label
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
com_Serie.ValueFormat("`<fgcolor white>` + value");
exgraph1.ValuePoint(",,,,,,,null");
exgraph1.EndUpdate();
}
|
21
|
Apply an opaque color to the value-label
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,,,,,,red");
exgraph1.EndUpdate();
}
|
20
|
Remove the line that connects the value point to value-label (method 2)
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,,,,,0");
exgraph1.EndUpdate();
}
|
19
|
Define a shorter line (connects the value point to value-label)
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,,,,,8");
exgraph1.EndUpdate();
}
|
18
|
Define the size of the line that connects the value point to value-label
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,,,,1");
exgraph1.EndUpdate();
}
|
17
|
Hide the line that connects the value point to value-label
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,,,,0");
exgraph1.EndUpdate();
}
|
16
|
Remove the line that connects the value point to value-label (method 1)
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,,,transparent");
exgraph1.EndUpdate();
}
|
15
|
Change the color to show the line that connects the value point to value-label
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,,,red");
exgraph1.EndUpdate();
}
|
14
|
Change the frame's size around the value-point
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,,4");
exgraph1.EndUpdate();
}
|
13
|
Change the frame's size around the value-point
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,,0");
exgraph1.EndUpdate();
}
|
12
|
Hide the value-points, but still the value-label (method 2)
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",transparent,transparent");
exgraph1.EndUpdate();
}
|
11
|
Hide the value-points, but still the value-label (method 1)
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint("0");
exgraph1.EndUpdate();
}
|
10
|
Change the color to show the border of the value-point
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",,black");
exgraph1.EndUpdate();
}
|
9
|
Makes the value point to show in the data-color
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint(",null");
exgraph1.EndUpdate();
}
|
8
|
Defines bigger value-points
public void init()
{
COM com_Serie;
anytype var_Serie;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value/100000");
var_s = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s = var_s + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_s1 = "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000";
var_s1 = var_s1 + "), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s)); com_Serie = var_Serie;
com_Serie.ShowValue(-1/*0xffffffff | exHideIfEmpty | exValue | exLine | exPoint*/);
exgraph1.ValuePoint("16");
exgraph1.EndUpdate();
}
|
7
|
How can I change the color to show the axes (method 3)
public void init()
{
COM com_ValueAxis;
anytype var_ValueAxis;
str var_s;
;
super();
var_ValueAxis = exgraph1.ValueAxis(); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Format("`<fgcolor red>` + value");
var_s = "Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(80";
var_s = var_s + "202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(14";
var_s = var_s + "6890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
}
|
6
|
How can I change the color to show the axes (method 2)
public void init()
{
COM com_ValueAxis;
anytype var_ValueAxis;
str var_s;
;
super();
var_ValueAxis = exgraph1.ValueAxis(); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Tfi("<fgcolor red>");
var_s = "Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(80";
var_s = var_s + "202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(14";
var_s = var_s + "6890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
}
|
5
|
How can I change the color to show the axes (method 1)
public void init()
{
str var_s;
;
super();
exgraph1.ForeColor(WinApi::RGB2int(255,0,0));
var_s = "Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(80";
var_s = var_s + "202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(14";
var_s = var_s + "6890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
}
|
4
|
Does the control's print supports "fit to page"
public void init()
{
COM com_Print,com_Series;
anytype var_Print,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_Series = exgraph1.Series(); com_Series = var_Series;
com_Series.Add("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)");
com_Series.Add("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)");
exgraph1.EndUpdate();
// Add 'exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
com_Print.PrintExt(exgraph1);
com_Print.Preview();
}
|
3
|
How can I print the control
public void init()
{
COM com_Print;
anytype var_Print;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(36);
exgraph1.Series().Add("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)");
exgraph1.EndUpdate();
// Add 'exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
com_Print.PrintExt(exgraph1);
com_Print.Preview();
}
|
2
|
How do I change the control's foreground color
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.ForeColor(WinApi::RGB2int(255,0,0));
exgraph1.Series().Add("-1,2,-3,4");
exgraph1.AutoFit(true);
exgraph1.EndUpdate();
}
|
1
|
How do I change the control's background color
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.BackColor(WinApi::RGB2int(240,240,240));
exgraph1.Series().Add("1,2,3,4");
exgraph1.AutoFit(true);
exgraph1.EndUpdate();
}
|